﻿using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using xycn.framework.Common;

namespace xycn.framework.Controllers
{

    /// <summary>
    /// 帮助文档
    /// </summary>
    public class HelpController : Controller
    {
        /// <summary>
        /// ApiHelp
        /// </summary>
        public static List<ApiHelpView> ApiHelpDocList = new List<ApiHelpView>();
        /// <summary>
        /// Index首页
        /// </summary>
        /// <returns></returns>
        public IActionResult Index()
        {
            var res = new List<ApiHelpView>();
            res.Add(new ApiHelpView()
            {
                Title = "通用",
                TitleHrefId = "123123123123",
                SubApiList = new List<ApiHelpView>(),
            });
            return View(ApiHelpDocList);
        }
    }
}
